﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ComboboxTest.aspx.cs" Inherits="AjaxToolkitDemo.ComboboxTest" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <br />
        
        Select your favorite movie:
        <br />
        <cc1:ComboBox 
            ID="ComboBox1"    
            MaxLength="0" 
            style="display: inline;" 
            runat="server" AutoCompleteMode="Suggest"  >     
                   <asp:ListItem Text="Mild" Value="0" />
            <asp:ListItem Text="Medium" Value="1" />
            <asp:ListItem Text="Hot" Value="2" />

             
        </cc1:ComboBox>
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <asp:DropDownList ID="DropDownList1"
            runat="server">    
                   <asp:ListItem Text="Mild" Value="4" />
            <asp:ListItem Text="Medium" Value="5" />
            <asp:ListItem Text="Hot" Value="6" /> 
        </asp:DropDownList>
        
        <asp:RadioButton ID="RadioButton1" runat="server" />
        <asp:RadioButton ID="RadioButton2"
            runat="server" />
            <asp:CheckBox ID="CheckBox1" runat="server" />
            <br />
        <asp:Button ID="Button1" runat="server" Text="Post" />
            <br />
        <asp:Label ID="Label1" runat="server"
            Text="Label"></asp:Label>
    </div>
    </form>
</body>
</html>

